home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM source / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-07  |  1.9 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*-------------------------------------------------------------------
  2.  
  3. AOCE Post Office Protocol (POP) / Simple Mail Transfer Protocol (SMTP)
  4. Mail Service Access Module
  5.  
  6. written by Steve Falkenburg-- MacDTS
  7. ©1991-1993 Apple Computer, Inc.
  8.  
  9. --------------
  10. change history
  11. --------------
  12.  
  13. SJF        02/19/93    update for beta build    b1
  14. SJF        10/29/92    update to a11            a11
  15. SJF        06/08/92    update to a8            a8
  16. SJF        02/15/92    first working version    a4.5
  17. SJF        10/16/91    initial coding            a3
  18.  
  19. ---------------------------------------------------------------------*/
  20.  
  21. #ifndef __MYTYPES__
  22. #include "mytypes.h"
  23. #endif
  24.  
  25. /* application-level globals */
  26.  
  27. Boolean        gDone;                        // set to true when program should quit
  28. Boolean        gWakeUp,gWakeUpSecondary;    // make sure wakeupprocess affects the next wne
  29. ProcessSerialNumber    gOurPSN;            // process serial # for wakeupprocess
  30. Boolean        gNetworkInited;                // true if external network has been inited
  31.  
  32. /* AOCE globals */
  33.  
  34. OCESetupLocation gLocation;                // location in "I'm at"
  35. Boolean        gAOCEInited;                // true if AOCE has been inited
  36. short        gNumSlots;                    // # of slots
  37. SlotSpec    gSlotDatabase[kMaxSlots+1];    // slot database in memory
  38. CreationID    gMSAMCID;                    // creation ID of gateway (MSAM)
  39. CreationID    gAOCESetupCID;                // creation ID of the AOCE setup directory
  40. short        gAOCESetupDSRef;            // ds refnum of the AOCE setup directory
  41. LocalIdentity gLocalIdentity;            // the computer's local identity
  42. Boolean        gAuthUnlocked;                // true if the local identity is unlocked
  43. Boolean        gAuthRefresh;                // true if the dir identities need to be refreshed
  44. short        gAuthInCriticalSection;        // semaphore indicating when the ID can't be locked
  45. Boolean        gUpdateSlotInformation;        // true when we need to re-read slot information
  46. HLEventQ    *gHLEventAdd,*gHLEventRemove;//high level event queue head,tail
  47. /* external network specific globals */
  48.  
  49. short        gTCPDrvrRefNum;                // driver ref num for MacTCP
  50. char        gOurIPString[256];            // for SMTP gateway "HELO" message
  51.